Skip to content

export Function

CallbackData ​

Constructor ​

ts
KeyboardButton.CallbackData( text, callback_data )
ParameterTypeDescription
textstringLabel text on the button.
callback_datastringData to be sent in a callback query to the bot when the button is pressed, 1-64 bytes

Return: KeyboardButtonPayload